package com.st.shopadmin.dao;

import com.st.shopadmin.pojo.ManagerUser;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ManagerUserMapper {
    int deleteByPrimaryKey(Long uid);

    int insert(ManagerUser record);

    int insertSelective(ManagerUser record);

    ManagerUser selectByPrimaryKey(Long uid);

    int updateByPrimaryKeySelective(ManagerUser record);

    int updateByPrimaryKey(ManagerUser record);

    int checkUserName(String username);

    int checkEmail(String email);

    ManagerUser selectLogin(@Param("username")String username,@Param("password")String password);

    List<ManagerUser> selectList();
}